package com.pwc.conversionTool.Manager;

import java.io.File;
import java.io.IOException;

import org.dom4j.DocumentException;

import com.pwc.conversionTool.config.ConfigBase;
import com.pwc.conversionTool.config.XMLConfig;

public class WsdlXmlConfigImpl extends XMLConfig{
	
	public WsdlXmlConfigImpl(String xmlString) throws DocumentException {
		configBase=new ConfigBase();
		configBase.readStringToXML(xmlString);
	}

	public static WsdlXmlConfigImpl InitialString(String xmlString)throws DocumentException
	{
		return new WsdlXmlConfigImpl(xmlString);
	}
	
	public void setSingleStringValue(String xPath,String value) throws IOException {
		configBase.setSingleStringValue(xPath, value);
	}
	
	public void saveDocument() throws IOException {
		configBase.saveDocument();
	}
}
